#ifndef CONVEYOR_H
#define CONVEYOR_H

#include <QObject>
#include <item.h>


namespace PickBusiness
{


	class Conveyor : public QObject
	{
		Q_OBJECT

	public:
		//Conveyor(QObject *parent);
		Conveyor();
		~Conveyor();

		inline float Velocity() const { return mVelocity; }
		inline void Velocity(float val) { mVelocity = val; }
		inline float Width() const { return mWidth; }
		inline void Width(float val) { mWidth = val; }
		inline float Height() const { return mHeight; }
		inline void Height(float val) { mHeight = val; }

		bool createItem(QPoint aAtPosition);
		void updateItems();

		/*public slots:

			void destroyItem(Item aItem);*/


	private:

		QList<Item> mItemList;
		float mVelocity;
		float mHeight;
		float mWidth;


	};

}
#endif // CONVEYOR_H
